/*
 * Copyright (c) 2020 Carnegie Lee
 * All rights reserved
 */
package com.geektech.mybatis.mapper;

import com.geektech.mybatis.domain.Post;

import java.util.List;

/**
 * Post Mapper
 *
 * @author Carnegie Lee
 */
public interface PostMapper {

    Post selectByPrimaryKey(int postId);

    int insert(Post record);

    int insertForeach(List<Post> records);

    int updateByPrimaryKey(Post record);

    int deleteByPrimaryKey(int postId);
}